package org.system.core.utils;

import java.util.regex.Pattern;

/**
 * @author baoRoot
 */
public class PhoneNumberValidator {

    public static boolean isValidPhoneNumber(String phoneNumber) {
        if (phoneNumber.isEmpty()) {
            return false;
        }
        return Pattern.matches("^1[3-9]\\d{9}$", phoneNumber);
    }

}
